<?php 
define("UNDERKLEO", true);
require_once '../../../../conf/kleoconfig.php';
$criteria = $_POST['topics']; 
$query = $kleocore->query("SELECT * FROM ".KLEO_TABLE_PREFIX."topics WHERE MATCH(tname) AGAINST ('%$criteria%') OR tname LIKE '%$criteria%' ORDER BY tname ASC");
?>
<ul>
<?php
while($row = $kleocore->fetch_array($query)):
?>
<li><?=$row['tname'];?></li>
<?php
endwhile;
?>
</ul>